home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_02_11
/
2n11048a
< prev
next >
Wrap
Text File
|
1991-08-05
|
533b
|
25 lines
/* Windows Initialization Files -- sample source code Listing 4
* Kevin H. Carlson 8/07/91
*/
extern int result;
LONG FAR PASCAL MainWndProc(HWND hWnd, WORD message, WORD wParam, LONG lParam)
{
switch(message)
{
. /* other message processing */
.
.
case WM_WININICHANGE:
GetProfileString(.....);/* load all needed info */
result = GetProfileInt(...);/* from WIN.INI */
break;
.
.
.
}
return FALSE;
}